#_*_coding:utf-8_*_
import  time,unittest,HTMLTestRunner


class login_test(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        pass


    def test_01(self):

        self.assertIn("","")

    def test_02(self):

        self.assertIn("", "")

    def test_03(self):

        self.assertIn("", "")
    
    @classmethod
    def tearDownClass(cls):
        pass


if __name__ == '__main__':
    suiteTest = unittest.TestSuite()
    suiteTest.addTest(login_test("test_01"))
    suiteTest.addTest(login_test("test_02"))
    suiteTest.addTest(login_test("test_03"))
    filepath =  "/Users/tim/Documents/pyse2023/chapter09/Reports/report.html"
    fp = open(filepath, 'wb')
    runner = HTMLTestRunner.HTMLTestRunner(stream=fp, title='自动化测试报告', description="测试报告")
    runner.run(suiteTest)
    fp.close()